package city.spring.service;

import city.spring.domain.entity.HealthCheckEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：体检登记
 *
 * @author pxm
 * @date 2020-06-17 16:21:46
 */
public interface HealthCheckService extends IService<HealthCheckEntity> {
    String CACHE_NAME = "health_check";

    /**
     * 业务处理：保存一个 <strong>体检登记</strong>
     *
     * @param entity 体检登记
     */
    void saveHealthCheck(HealthCheckEntity entity);

    /**
     * 业务处理：修改一个 <strong>体检登记</strong>
     *
     * @param entity 体检登记
     */
    void updateHealthCheck(HealthCheckEntity entity);

    /**
     * 业务处理：删除一个 <strong>体检登记</strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteHealthCheck(String primaryKey);

    /**
     * 业务处理：删除多个 <strong>体检登记</strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteHealthCheck(List<String> primaryKeys);
}